package com.csii.user.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import com.csii.autopoi.poi.excel.annotation.Excel;
import com.csii.core.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;

/**
 * @Description: sys_role_group_relation
 * @Author: power-stdio
 * @Date:   2021-04-27
 * @Version: V1.0
 */
@Data
@TableName("sys_role_group_relation")
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="sys_role_group_relation对象", description="sys_role_group_relation")
public class SysRoleGroupRelation implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键id")
    private String id;
	/**组id*/
	@Excel(name = "组id", width = 15)
    @ApiModelProperty(value = "组id")
    private String groupId;
	/**角色id*/
	@Excel(name = "角色id", width = 15)
    @ApiModelProperty(value = "角色id")
    private String roleId;

    public SysRoleGroupRelation() {
    }

    public SysRoleGroupRelation(String groupId, String roleId) {
        this.groupId = groupId;
        this.roleId = roleId;
    }
}
